package com.wgts.wgts.localbean;

import android.os.Parcel;
import android.os.Parcelable;

public class LocalUpdateDate implements Parcelable {

    public String cancle;

    public String updateMessage;

    public String ensure;

    public LocalUpdateDate(){}

    protected LocalUpdateDate(Parcel in) {
        cancle = in.readString();
        updateMessage = in.readString();
        ensure = in.readString();
    }

    public static final Creator<LocalUpdateDate> CREATOR = new Creator<LocalUpdateDate>() {
        @Override
        public LocalUpdateDate createFromParcel(Parcel in) {
            return new LocalUpdateDate(in);
        }

        @Override
        public LocalUpdateDate[] newArray(int size) {
            return new LocalUpdateDate[size];
        }
    };

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(cancle);
        dest.writeString(updateMessage);
        dest.writeString(ensure);
    }
}
